package com.wissen.containment;

/**
 * @author wissen16
 * Container class college having control on Teacher,Dept and Subject Objects
 */
public class College {
	private int c_id;
	private String cname;
	Teacher t;
	Subject s;
	Dept d;
	/**
	 * constructor to intialise state 
	 */
	College() {
		t= new Teacher(1,"Prof M.N.Shelar");
		s=new Subject();
		d=new Dept();
		c_id=536;
		cname="k.t.h.m.college,nasik";
	}
	/**
	 * this method to display container college inforamtion
	 */
	public void Show() {
		t.Show();
		s.Show();
		d.Show();
	System.out.println("College_id="+c_id+"\nCollege Name="+cname);
	}
}